package com.ruoyi.mall.coupon.service.impl;

import java.io.Serializable;
import java.util.Collection;
import java.util.List;
import java.util.Map;
import java.util.function.Function;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.mall.coupon.mapper.MemberPriceMapper;
import com.ruoyi.mall.coupon.domain.MemberPrice;
import com.ruoyi.mall.coupon.service.IMemberPriceService;

/**
 * 商品会员价格Service业务层处理
 *
 * @author zhangqishu
 * @date 2022-06-14
 */
@Service
public class MemberPriceServiceImpl implements IMemberPriceService
{
    @Autowired
    private MemberPriceMapper memberPriceMapper;

    /**
     * 查询商品会员价格
     *
     * @param id 商品会员价格主键
     * @return 商品会员价格
     */
    @Override
    public MemberPrice selectMemberPriceById(Long id)
    {
        return memberPriceMapper.selectMemberPriceById(id);
    }

    /**
     * 查询商品会员价格列表
     *
     * @param memberPrice 商品会员价格
     * @return 商品会员价格
     */
    @Override
    public List<MemberPrice> selectMemberPriceList(MemberPrice memberPrice)
    {
        return memberPriceMapper.selectMemberPriceList(memberPrice);
    }

    /**
     * 新增商品会员价格
     *
     * @param memberPrice 商品会员价格
     * @return 结果
     */
    @Override
    public int insertMemberPrice(MemberPrice memberPrice)
    {
        return memberPriceMapper.insertMemberPrice(memberPrice);
    }

    /**
     * 修改商品会员价格
     *
     * @param memberPrice 商品会员价格
     * @return 结果
     */
    @Override
    public int updateMemberPrice(MemberPrice memberPrice)
    {
        return memberPriceMapper.updateMemberPrice(memberPrice);
    }

    /**
     * 批量删除商品会员价格
     *
     * @param ids 需要删除的商品会员价格主键
     * @return 结果
     */
    @Override
    public int deleteMemberPriceByIds(Long[] ids)
    {
        return memberPriceMapper.deleteMemberPriceByIds(ids);
    }

    /**
     * 删除商品会员价格信息
     *
     * @param id 商品会员价格主键
     * @return 结果
     */
    @Override
    public int deleteMemberPriceById(Long id)
    {
        return memberPriceMapper.deleteMemberPriceById(id);
    }

    @Override
    public boolean save(MemberPrice entity) {
        return false;
    }

    @Override
    public boolean saveBatch(Collection<MemberPrice> entityList) {
        return IMemberPriceService.super.saveBatch(entityList);
    }

    @Override
    public boolean saveBatch(Collection<MemberPrice> entityList, int batchSize) {
        return false;
    }

    @Override
    public boolean saveOrUpdateBatch(Collection<MemberPrice> entityList, int batchSize) {
        return false;
    }

    @Override
    public boolean removeById(Serializable id) {
        return false;
    }

    @Override
    public boolean removeByMap(Map<String, Object> columnMap) {
        return false;
    }

    @Override
    public boolean remove(Wrapper<MemberPrice> queryWrapper) {
        return false;
    }

    @Override
    public boolean removeByIds(Collection<? extends Serializable> idList) {
        return false;
    }

    @Override
    public boolean updateById(MemberPrice entity) {
        return false;
    }

    @Override
    public boolean update(MemberPrice entity, Wrapper<MemberPrice> updateWrapper) {
        return false;
    }

    @Override
    public boolean updateBatchById(Collection<MemberPrice> entityList, int batchSize) {
        return false;
    }

    @Override
    public boolean saveOrUpdate(MemberPrice entity) {
        return false;
    }

    @Override
    public MemberPrice getById(Serializable id) {
        return null;
    }

    @Override
    public Collection<MemberPrice> listByIds(Collection<? extends Serializable> idList) {
        return null;
    }

    @Override
    public Collection<MemberPrice> listByMap(Map<String, Object> columnMap) {
        return null;
    }

    @Override
    public MemberPrice getOne(Wrapper<MemberPrice> queryWrapper, boolean throwEx) {
        return null;
    }

    @Override
    public Map<String, Object> getMap(Wrapper<MemberPrice> queryWrapper) {
        return null;
    }

    @Override
    public <V> V getObj(Wrapper<MemberPrice> queryWrapper, Function<? super Object, V> mapper) {
        return null;
    }

    @Override
    public int count(Wrapper<MemberPrice> queryWrapper) {
        return 0;
    }

    @Override
    public List<MemberPrice> list(Wrapper<MemberPrice> queryWrapper) {
        return null;
    }

    @Override
    public IPage<MemberPrice> page(IPage<MemberPrice> page, Wrapper<MemberPrice> queryWrapper) {
        return null;
    }

    @Override
    public List<Map<String, Object>> listMaps(Wrapper<MemberPrice> queryWrapper) {
        return null;
    }

    @Override
    public <V> List<V> listObjs(Wrapper<MemberPrice> queryWrapper, Function<? super Object, V> mapper) {
        return null;
    }

    @Override
    public IPage<Map<String, Object>> pageMaps(IPage<MemberPrice> page, Wrapper<MemberPrice> queryWrapper) {
        return null;
    }

    @Override
    public BaseMapper<MemberPrice> getBaseMapper() {
        return null;
    }
}
